package me.helllp.bootman.common.bean;

import me.helllp.bootman.common.base.BaseBean;

/**
 * 登录的对象，数据会保持在缓存中
 * 
 * @author Administrator
 *
 */
public class LoginUserBean extends BaseBean{

	private static final long serialVersionUID = 4867247338034761052L;

	/**
	 * 用户的唯一标识
	 */
	private Long userId;
	
	/**
	 * 用户身份(User)
	 */
	private String principals;
	
	/**
	 * 用户证明(Pass)
	 */
	private String credentials;
	
	/**
	 * 盐
	 */
	private String salt;
	
	/**
	 * 用户当前状态
	 */
	private Integer status;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPrincipals() {
		return principals;
	}

	public void setPrincipals(String principals) {
		this.principals = principals;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getCredentials() {
		return credentials;
	}

	public void setCredentials(String credentials) {
		this.credentials = credentials;
	}
}
